﻿/****************************************************************************
* Copyright (c) 2018Microsoft All Rights Reserved.
* CLR版本： 4.0.30319.42000
*机器名称：SHOUZHEN
*公司名称：Microsoft
*命名空间：MSD.WL.Site.Models
*文件名：  SEOrder
*版本号：  V1.0.0.0
*唯一标识：a05dc4f0-d205-4746-ad3e-b261e1c15b24
*当前的用户域：SHOUZHEN
*创建人：  Administrator
*电子邮箱：gsz8865784@126.com
*创建时间：2018/12/25 10:19:38

*描述：
*
*=====================================================================
*修改标记
*修改时间：2018/12/25 10:19:38
*修改人： Administrator
*版本号： V1.0.0.0
*描述：
*销售订单
*****************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace MSD.WL.Site.Models
{
    public class SEOrder
    {
        [Key]
        public int ID { get; set; }

        [Display(Name = "销售订单编号")]
        [StringLength(20)]
        public string SEOrderCode { get; set; }

        [Display(Name = "销售订单日期")]
        [DataType(DataType.DateTime)]
        public DateTime SEOrderDate { get; set; }

        [Display(Name = "操作员代码")]
        [StringLength(10)]
        public string OperatorCode { get; set; }

        [Display(Name = "客户代码")]
        [StringLength(10)]
        public string CustomerCode { get; set; }

        [Display(Name = "订货仓库代码")]
        [StringLength(10)]
        public string StoreCode { get; set; }

        [Display(Name = "存货代码")]
        [StringLength(10)]
        public string InvenCode { get; set; }

        [Display(Name = "销售价")]
        public int SellPrice { get; set; }

        [Display(Name = "销售量")]
        public int Quantity { get; set; }

        [Display(Name = "销售金额")]
        public int SEMoney { get; set; }

        [Display(Name = "发出日期")]
        [DataType(DataType.DateTime)]
        public DateTime SenInvenDate { get; set; }

        [Display(Name = "业务员代码")]
        [StringLength(10)]
        public string EmployeeCode { get; set; }

        [Display(Name = "是否审核")]
        [Range(0, 1)]
        public int IsFlag { get; set; }
    }
}